package com.fegin.common.comenum;

/**
 * @author 卫星
 * @package com.fegin.common.comenum
 * @date 2019-03-07  17:47
 * @project CurrenCy-Cloud
 */
public enum NumBooleanEnum {
    TRUE((byte) 1, true),
    FALSE((byte) 0, false);
    private Boolean aBoolean;
    private Byte code;

    NumBooleanEnum(Byte code, boolean aBoolean) {
        this.aBoolean = aBoolean;
        this.code = code;
    }

    public Boolean getaBoolean() {
        return aBoolean;
    }

    public void setaBoolean(Boolean aBoolean) {
        this.aBoolean = aBoolean;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

}

